#include <stdio.h>

int main()
{
    int n = 0, s = 0;
    scanf("%d", &s);
    for (; s > 1; s >>= 1, ++n)
        ;
    printf("%d", ++n);
    return 0;
}